Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize utils::get_tsc_freq() #7974

Merged
merged 1 commit into from
Apr 7, 2020
Merged

Optimize utils::get_tsc_freq() #7974

merged 1 commit into from
Apr 7, 2020

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Apr 7, 2020

Save first TSC value and reuse it.

@CookiePLMonster
Copy link
Contributor

Do note this is going to introduce additional locking but it should be essentially free after the initial initialization.

@Nekotekina
Copy link
Member

I just forgot to add static.

@Nekotekina Nekotekina merged commit 5834a46 into RPCS3:master Apr 7, 2020
@elad335 elad335 deleted the patch-7 branch April 13, 2020 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants